{config_load file="$language/lang_$language.conf" section="index"}
{config_load file="$language/lang_mobile_$language.conf" section="mobile"}
<div data-role="page" id="{$smarty.session.metatitleid}"> 
	{index_html file=index_top.html type=top}
	<div data-role="content">
		{$main_content}
	</div>
	{if ($START == 'TRUE' and $KATEGORIE == 'TRUE' and $smarty.get.manuid=='')}
		{if $ISSTART == 'FALSE'}
			{$box_SEARCH}
			<ul data-role="listview" data-inset="true">
			  <li>
				<a href="{php}echo xtc_href_link(FILENAME_PRODUCTS_NEW, '', 'SSL');{/php}">{#text_newproducts#}</a>
			  </li>
			  <li>
				<a href="{php}echo xtc_href_link(FILENAME_SPECIALS, '', 'SSL');{/php}">{#text_specials#}</a>
			  </li>
			  {if $box_BESTSELLERS}
				<li>
					<a href="#bestseller">{#text_bestseller#}</a>
				</li>
			  {/if}
			</ul>
		{/if}
		<br />{$box_CATEGORIES}<br />
		{if $box_LANGUAGES !=''}
			{$box_LANGUAGES}<br />
		{/if}
		{if $box_CURRENCIES !=''}
			{$box_CURRENCIES}<br />
		{/if}
	{/if}
	{$box_ADMIN}
		{$box_CONTENT}<br />
		{$box_INFORMATION}<br />
	{index_html file=index_bottom.html type=bottom}
</div>